projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b9aa9
)
arm, da850evm: Do pinmux configuration for EMAC together with other pinmuxes
author
Christian Riesch
<
[email protected]
>
Mon, 28 Nov 2011 23:46:16 +0000
(23:46 +0000)
committer
Albert ARIBAUD
<
[email protected]
>
Tue, 6 Dec 2011 22:59:36 +0000
(23:59 +0100)
Pinmux configuration for the EMAC was done in a separate call
of davinci_configure_pin_mux(). This patch moves all the pinmux
configuration that is done for this board to a common place.
Signed-off-by: Christian Riesch <
[email protected]
>
Cc: Heiko Schocher <
[email protected]
>
Cc: Sandeep Paulraj <
[email protected]
>
Cc: Sudhakar Rajashekhara <
[email protected]
>
Acked-by: Heiko Schocher <
[email protected]
>
board/davinci/da8xxevm/da850evm.c
patch
|
blob
|
history
diff --git
a/board/davinci/da8xxevm/da850evm.c
b/board/davinci/da8xxevm/da850evm.c
index 844e585f60164aeb8b8dad61a6ea1594bf1e4821..9b68c5cec5fe8ff281fc1ae9f188a1a51720efc4 100644
(file)
--- a/
board/davinci/da8xxevm/da850evm.c
+++ b/
board/davinci/da8xxevm/da850evm.c
@@
-223,6
+223,9
@@
int misc_init_r(void)
}
static const struct pinmux_resource pinmuxes[] = {
+#ifdef CONFIG_DRIVER_TI_EMAC
+ PINMUX_ITEM(emac_pins),
+#endif
#ifdef CONFIG_SPI_FLASH
PINMUX_ITEM(spi1_pins),
#endif
@@
-344,9
+347,6
@@
int board_init(void)
#endif
#ifdef CONFIG_DRIVER_TI_EMAC
- if (davinci_configure_pin_mux(emac_pins, ARRAY_SIZE(emac_pins)) != 0)
- return 1;
-
davinci_emac_mii_mode_sel(HAS_RMII);
#endif /* CONFIG_DRIVER_TI_EMAC */